package com.vfd.ads.rotators {
	import com.vfd.collections.iterartors.IIterator;
	
	/**
	* Base class for ad rotators. 
	* @author Jeremy Wischusen <cortex@visualflowdesigns.com>
	*/
	public class AdRotator {
		private var _adList:Array; 
		private var _iterator:IIterator;
		public function AdRotator(iterator:IIterator) {
			this._iterator = iterator;
		}
		public function loadNext() {
			this._iterator.next();
		}
		public function set adList(list:Array) {
			this._adList = list;
		}
		
	}
	
}